(Quick Reference)
ui:resources
Purpose
Includes the resources required for the current UI Set.
This uses the Resources framework, so you must have r:layoutResources calls to render the resources - unless you are rendering an HTML Ajax response in which case you must call this and use the
ignore
attribute.
If you are using themes or UI Sets in the normal way you do not need to use this tag.
Example
Using this tag to ignore the resources for UI Sets:
<html>
<head>
<ui:resources ignore="true"/>
<r:layoutResources/>
</head>
<body>
..
<r:layoutResources/>
</body>
</html>
Attributes
Name | Description |
---|
ignore | Optional boolean. If set to true, will prevent the "r:requires" of any resources the current UI Set needs. Use in Ajax response GSP templates to prevent "missing r:layoutResources" call error. |